/*
 * @Descripttion:
 * @version:
 * @Author: ChenXiang
 * @Date: 2021-04-07 10:55:38
 * @LastEditors: ChenXiang
 * @LastEditTime: 2021-07-18 18:48:28
 */
import React, { useState } from "react";
import { ButtonGroup } from "@/hocs";

export default (props) => {
  return (
    <div>
      <ButtonGroup
        defaultActiveKey={1}
        onChange={(item) => {
          console.log(item);
        }}
        data={[
          { text: 1, value: 1 },
          { text: 2, value: 2 },
          { text: 3, value: 3 },
          { text: 4, value: 4 }
        ]}
      />
    </div>
  );
};
